package com.willow.liutige.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.willow.liutige.model.dto.mockInterview.MockInterviewAddRequest;
import com.willow.liutige.model.dto.mockInterview.MockInterviewEventRequest;
import com.willow.liutige.model.dto.mockInterview.MockInterviewQueryRequest;
import com.willow.liutige.model.entity.MockInterview;
import com.willow.liutige.model.entity.User;

/**
* @description 针对表【mock_interview(模拟面试)】的数据库操作Service
*/
public interface MockInterviewService extends IService<MockInterview> {

    /**
     * 创建模拟面试
     */
    Long createMockInterview(MockInterviewAddRequest mockInterviewAddRequest, User loginUser);

    /**
     * 构造查询条件
     */
    Wrapper<MockInterview> getQueryWrapper(MockInterviewQueryRequest mockInterviewQueryRequest);

    /**
     * 处理模拟面试事件
     */
    String handleMockInterviewEvent(MockInterviewEventRequest mockInterviewEventRequest, User loginUser);
}
